# 通过 API 调用（需登录获取 key）
import requests
url = "https://api.deepseek.com/chat/completions"
headers = {"Authorization": "sk-8e69e81224ab4567867d3351553d4ca8"}
data = {
    "model": "deepseek-chat",
    "messages": [{"role": "user", "content": "你的问题"}]
}
response = requests.post(url, json=data, headers=headers)